/**
* @author Ashish Gupta
* CVSSP, University of Surrey
* Copyright (c) 2010 Ashish Gupta
* All rights reserved.
*/
/**
 * 
 */
package genetic;

import image.ImageSet;
import hash.CellSpace;
import configuration.GenePoolConfiguration;

/**
 * @author Ashish
 *
 */
public class GenePool {
	private GenePoolConfiguration genePoolConfiguration = null;
	private Population population = null;
	
	public GenePool(GenePoolConfiguration genePoolConfig, CellSpace cellSpace, ImageSet imageSet){
		setGenePoolConfiguration(genePoolConfig);
		setPopulation(new Population(genePoolConfig, cellSpace, imageSet));
	}
	
	/**
	 * @param genePoolConfiguration the genePoolConfiguration to set
	 */
	public void setGenePoolConfiguration(GenePoolConfiguration genePoolConfiguration) {
		this.genePoolConfiguration = genePoolConfiguration;
	}

	/**
	 * @return the genePoolConfiguration
	 */
	public GenePoolConfiguration getGenePoolConfiguration() {
		return genePoolConfiguration;
	}

	/**
	 * @param population the population to set
	 */
	public void setPopulation(Population population) {
		this.population = population;
	}

	/**
	 * @return the population
	 */
	public Population getPopulation() {
		return population;
	}
		

}
